package com.hainingtong.busapi.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

@Data
public class Station {
    @JSONField(name = "STATION_ID")
    String id;
    @JSONField(name = "DUALSERIAL_ID")
    int dualserialId;
    @JSONField(name = "STATION_TYPE")
    int type;
    @JSONField(name = "NAME")
    String name;
    @JSONField(name = "LONGITUDE")
    String longitude;
    @JSONField(name = "LATITUDE")
    String latitude;
    @JSONField(name = "DISTANCE")
    float distance;

    @JSONField(name = "ID")
    public void setStationId(String id) {
        this.id = id;
    }

    @JSONField(name = "TYPE")
    public void setStationType(int type) {
        this.type = type;
    }

    @JSONField(name = "STATION_NAME")
    public void setStationName(String name) {
        this.name = name;
    }
}
